Statecharts: A Visual Formalism for Complex Systems

نویسنده

  • David Harel
چکیده

We present a broad extension of the conventional formalism of state machines and state diagrams, that is relevant to the specification and design of complex discrete-event systems, such as multi-computer real-time systems, communication protocols and digital control units. Our diagrams, which we call statecharts, extend conventional state-transition diagrams with essentially three elements, dealing, respectively, with the notions of hierarchy, concurrency and communication. These transform the language of state diagrams into a highly structured and economical description language. Statecharts are thus compact and expressiv-small diagrams can express complex behavior-as well as compositional and modular. When coupled with the capabilities of computerized graphics, statecharts enable viewing the description at different levels of detail, and make even very large specifications manageable and comprehensible. In fact, we intend to demonstrate here that statecharts counter many of the objections raised against conventional state diagrams, and thus appear to render specification by diagrams an attractive and plausible approach. Statecharts can be used either as a stand-alone behavioral description or as part of a more general design methodology that deals also with the system’s other aspects, such as functional decomposition and data-flow specification. We also discuss some practical experience that was gained over the last three years in applying the statechart formalism to the specification of a particularly complex system.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Curso de Programación de Sistemas Embebidos con Statecharts

— Statecharts is a visual formalism for specifying behavior of complex systems. This document details the method for designing embedded systems with statecharts, used in the course of Development with Microcontrollers of the degree of Electronic Engineering. The article includes an example of simple design with statecharts and describes the organization, content, methodology and tools used in o...

متن کامل

The Semantics of Viewcharts

This paper presents the semantics of Viewcharts. Viewcharts is a formalism designed for specifying the behavioral requirements of large-scale complex systems independent of implementation. The formalism is based on Harel's Statecharts. Therefore, we establish the semantic basis of Viewcharts via translation to Statecharts.

متن کامل

Design of Traffic Light Control Systems Using Statecharts

Statechart has been utilized as a visual formalism for themodeling of complex systems. It illuminates the features on describing properties of causality, concurrency and synchronization. This paper focuses on the use of statecharts to model an urban traffic lights control system. The applications of statecharts to eight-phase, six-phase and two-phase traffic lights are illustrated. The advantag...

متن کامل

Transitions as Interrupts: A New Semantics for Timed Statecharts

Statecharts is a visual formalism for the speciication of reac-tive systems. The formalism has been endowed with a \step-semantics" which heavily bounds the complexity of the reaction in a step, does not model interrupts in a natural way and is not proper for investigating reenement. In this paper, a new model is proposed allowing to overcome the mentioned drawbacks. From a syntactic point of v...

متن کامل

On the Computing Power of Statecharts

Statecharts provide a practical and expressive visual formalism to describe reactive systems. They have been adopted by a number of object modeling techniques and languages, such as the UML state machines. Although Statecharts’ semantics has attracted much attention, the computation power of Statecharts was seldom considered. In this paper, we study the computation power of Statecharts by linki...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Sci. Comput. Program.

دوره 8  شماره 

صفحات  -

تاریخ انتشار 1987